<template>
<!-- 系统主页面 -->
  <el-container id="main">
    <!-- 头部 -->
    <el-header>
      <top />
    </el-header>
    <el-container>
      <!-- 侧边栏 -->
      <el-aside width="200px">
        <aside-nav></aside-nav>
      </el-aside>
      <!-- 主体内容 -->
      <el-container>
        <el-main>Main</el-main>
        <!-- 底部 -->
        <el-footer>
          <bottom-info/>
        </el-footer>
      </el-container>
    </el-container>
  </el-container>
</template>

<script>
import AsideNav from '@/components/AsideNav.vue'
import Top from '@/components/Top.vue'
import BottomInfo from '@/components/BottomInfo.vue'

export default {
  name: 'Layout',
  components: {
    AsideNav,
    Top,
    BottomInfo
  }
}
</script>

<style lang="less" scoped>
#main {
  height: 100%;
}
.el-header {
  background-color: #409eff;
}

.el-main,
.el-footer {
  background-color: #fafafa;
}

.el-footer {
  border-top: solid 1px #dcdfe6;
  text-align: center;
  line-height: 60px;
}
</style>
